import {connect} from "react-redux";

import DetailSongSheet from "../components/detailSongList/detailSongList";

import getDetailList1 from "../actions/detailSongSheetAction"


const mapStateToProps = (state) => {

    console.log(state)
    return {
    //    all:state.Banner.all
    }
}

const mapDispatchToProps = (dispatch) => {
    return {
        getDetailSongList(id){
            console.log(id)
            dispatch(getDetailList1(id))
        }
    }
}

let DetailSongContainer = connect(mapStateToProps,mapDispatchToProps)(DetailSongSheet);

export default DetailSongContainer